<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>

    //设置
    window.localStorage.setItem("pname",'平板');
    //设置
    window.localStorage.setItem("pid",'1');
    //设置
    window.localStorage.setItem("price",'200');


    //获取



</script>
</body>
</html>